import Vue from 'vue'
import request from '@/itsoftUI/utils/request'
import qs from "qs"
const baseUrl = Vue.prototype.$itsoftUI.config.serviceUrl 
//公共方法
const apiCommon = {
    // 获取数据交换的明细
    getMenuNode: function (dataType) {
        let urlPath=baseUrl
        if (dataType=='trans'){
            urlPath+="/trans/steps"
        } else{
            urlPath+="/jobs/jobentrys"
        }
        return request({
            url: urlPath,
            method: 'post' 
        })
    },
     

}
export {apiCommon}
